package com.yyyyy.java.util.java.java;

public class Book {
    private String bookName;
    private String author;//作家
    private String publisher;//出版社名
    private double price;//价格

    public String getBookName(){
        return bookName;
    }

    public void setPublisher(String publisherparam){

        author = author;
    }

    public String getAuthor(){
        return author;
    }

    public void setpublisher(String publisherparam){

        publisher = publisherparam;
    }
    public  double getPrice(){
        return price;
    }

    public String getBookInfo(){

        return  "书名" + bookName+"作者"+author
                +"出版社名"+publisher+"价格"+price;
    }

}
